const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  userId: state => state.user.userId,
  userName: state => state.user.userInfo.user_name,
  avatar: state => state.user.userInfo.user_pic,
  cid: state => state.user.cid,
  mid: state => state.user.mid
}
export default getters
